Repository navigation
Conversation
Document Portal's application access tokens (`ipat_…`) as the credential for pipelines and integrations: what each permission allows and which command needs it, where to create and revoke a token, that it acts in its own organization, and the 401/403 answers. Add examples for uploading and publishing from a pipeline (with a GitHub Actions step) and for downloading a build. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The comments after each line continuation broke the command when pasted into a shell. The command now runs as is, and the options are explained below it. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What changed
ipat_…, Innoactive/Portal-Backend#2232) as the credential for pipelines and integrations.upload-buildfollowed byupdate-launch-configuration.builds download, and theAuthorization: Bearerheader for other tools.# commentsafter each\, which broke it when pasted into a shell. The command is now copy-pasteable, and the options are explained below it.No CLI code changes. The CLI already sends
PORTAL_BACKEND_ACCESS_TOKENasAuthorization: Bearer …, and none of these commands sends an organization.How it was verified
Setup:
developat a7120bfc3 (the merge of Innoactive/Portal-Backend#2724), served byrunserveron the host with SQLite. Docker's Postgres wouldn't start on the machine, soscripts/dev-stackwasn't used.PORTAL_BACKEND_ENDPOINT=http://localhost:8399and an empty config directory, so no stored login was used.POST /api/v2/applications/<id>/access-tokens/as an application manager: upload + publish, upload only, and download only.Results, all with the commands as the README shows them:
applications v2 upload-build ./build.zip --application-id … --version … --xr-platform win-non-vr --executable-path MyApp.exeuploaded_by_tokenapplications v2 update-launch-configuration <app> win-non-vr <build>, and withquestapplications v2 get <app>,applications v2 builds get <build>run:block underbash -eo pipefailupload-build(quest)update-launch-configurationupload-build --xr-platform pico(no such launch configuration)builds downloadbuilds download <build> --filepath ./downloaded.apkbuilds downloadwithout--filepathapplication_archivewithAuthorization: Bearer …upload-buildapplications v2 listgettheir application, as the README says)Portal-Organization-Idnaming the token's organization / another organizationDELETE …/access-tokens/<id>/→ 204)builds downloadThe secret doesn't appear in the server log.
Part of Innoactive/Portal-Backend#2721.
🤖 Generated with Claude Code